package cn.edu.neusoft.neufooddemo.activity;

import android.content.Intent;
import android.view.View;
import android.widget.ImageView;
import android.widget.LinearLayout;

import cn.edu.neusoft.neufooddemo.R;

public class SettingActivity extends BaseActivity {

    private ImageView setting_return;
    private LinearLayout setting_login;


    protected void initViews(){
        setLayout(R.layout.activity_setting);
        setting_return = (ImageView)findViewById(R.id.setting_return);
        setting_login = (LinearLayout)findViewById(R.id.setting_login);
    }

    void initEvents(){
        setting_return.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                finish();
            }
        });
        setting_login.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                Intent intent = new Intent(SettingActivity.this,LoginActivity.class);
                startActivity(intent);
            }
        });
    }
    void initData()
    {

    }
}
